﻿using System.ComponentModel.DataAnnotations;

namespace CodeStash.Models.Team
{
    public class TeamModel
    {
        [MaxLength(50,ErrorMessage="Team name is too long")]
        public string TeamName { get; set; }

        [DataType(DataType.EmailAddress)]
        [MaxLength(50, ErrorMessage = "Email is required")]
        public string Email { get; set; }

        public bool IsOpenIdLogin { get; set; }


    }
}